/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.message.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

/**
 * 消息管理
 *
 * @author liyue
 * @date 2022-04-22 17:27:38
 */
@Data
@ApiModel(value = "消息管理和消处象传输对象")
public class ManagementUserObjectVO {

    @ApiModelProperty(value = "文档ID")
    private Long id;

    @ApiModelProperty(value = "租户ID")
    private Long tenantId;

    @ApiModelProperty(value = "标题")
    private String subject;

    @ApiModelProperty(value = "文档类型")
    private String doctype;

    @ApiModelProperty(value = "文档ID")
    private Long docId;

    @ApiModelProperty(value = "分类ID")
    private Long ctiId;

    @ApiModelProperty(value = "分类名称")
    private String ctiName;

    @ApiModelProperty(value = "状态默认为0{0：启用、1：禁用}")
    private Integer status;

    @ApiModelProperty(value = "消息描述")
    private String infor;

    @ApiModelProperty(value = "打开超链接")
    private String openUrl;

    @ApiModelProperty(value = "打开类型")
    private String openType;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "完成时限0：长期坚持；1：周期完成。如果是周期完成就必须填写开始结束时间")
    private String timelimitType;

    @ApiModelProperty(value = "开始时间（精确到天）")
    private LocalDate startdate;

    @ApiModelProperty(value = "结束时间（精确到天）")
    private LocalDate enddate;

    @ApiModelProperty(value = "提醒方式(支持多选格式如0,0,0；代表短信、系统消息、邮件。1代表需要，0代表不需要中)")
    private String mode;

    @ApiModelProperty(value = "提醒方式(支持多选格式如0,0,0；代表短信、系统消息、邮件。1代表需要，0代表不需要中)")
    private String[] modes;

    /**
     * 消息对象属性
     */
    @ApiModelProperty(value = "责任部门ID")
    private Long userOuid;

    @ApiModelProperty(value = "责任部门名称")
    private String userOuname;

    @ApiModelProperty(value = "责任部门全名称")
    private String userOufullname;

    @ApiModelProperty(value = "责任人ID")
    private Long userUserid;

    @ApiModelProperty(value = "责任人名称")
    private String userName;

    @ApiModelProperty(value = "责任人名称")
    private String realName;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "手机号")
    private String phoneNumber;

    @ApiModelProperty(value = "源ID")
    private Long sourceId;

    @ApiModelProperty(value = "源类型")
    private String sourceType;
}
